Filtering columns with multilist values

Hello,

 

I have a multilist component. The values of this list should be updated depending on the value of another attribute.

with insert() method i could achieve this.

Can anyone pls share some views on how to create a filter with the selected values from this multilist.

Thanks.


Adminani - Wed Jun 24 23:45:24 EDT 2015

Re: Filtering columns with multilist values
GregM_dxler - Thu Jun 25 15:42:48 EDT 2015

Hi,

Can't you filter on the column using the values you want to use?

filtering off
Module curmod = current Module
string sColName = "Program Specific"
string searchStr1 = "ABC"
string searchStr2 = "XYZ"

Filter f1 = column(sColName, searchStr1, false, false)
Filter f2 = column(sColName, searchStr2, false, false)

fAll = f1 || f2
set fAll
filtering on
refresh curmod

 

Hope this helps,

Greg